package com.web.exiaodao.business.service;

import com.web.exiaodao.business.entity.Address;
import com.web.webstart.base.exception.BusinessException;
import com.web.webstart.base.service.BaseServiceInterFace;
import com.web.webstart.base.util.result.XaResult;
import org.springframework.data.domain.Page;

import java.util.Map;

public interface AddressService extends BaseServiceInterFace<Address> {

    /**
     * 地址管理，分页查询，用户名查询
     *
     * @param nextPage
     * @param pageSize
     * @param filterParams
     * @return
     * @throws BusinessException
     * @author huangyang
     */
    public XaResult<Page<Address>> findAddresskList(
            Integer nextPage, Integer pageSize, Map<String, Object> filterParams) throws BusinessException;

}
